Don't re-look-up tables to avoid dots problem
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 Jun 2016 11:10:29 +0000 (04:10 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 17 Jun 2016 13:24:06 +0000 (06:24 -0700)
commit53b7422643e70cedc2d23ba609fd0b570cc9bb3f
treea2c0a82ae95a9eaca383811fb483a1e04987bfcc
parent5a26b65d98b4c5072545a796a7950fff0b967e87
Don't re-look-up tables to avoid dots problem

If a `links` value has a `.` in the name Cargo would previously panic, but this
alters the code to be more principled about lookup in tables to ensure that we
don't misinterpret the names.

Closes #2786
src/cargo/ops/cargo_compile.rs
tests/build-script.rs